<template>
  <div id="leftBottom" class="p-10">
    <div class="title p-lr-30">
      <div class="txt">这是渐变标题</div>
    </div>
    <div class="body">
      <div class="item flex blue align-center" v-for="(item, index) in data" :key="index">
        <div style="width: 30%" class="justify-center flex">{{ item.name }}</div>
        <div class="flex-sub">{{ item.value }}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  components: {},
  data() {
    return {
      data: [],
    };
  },
  mounted() {},
  methods: {
    update(v) {
      this.data = v;
    },
  },
};
</script>

<style scoped lang="scss">
#leftBottom {
  width: 100%;
  height: 100%;
  .title {
    background: url("@/assets/img/titleBg.png") no-repeat;
    height: 50px;
    width: 100%;

    background-size: 100% 100%;
    .txt {
      @extend .number;
    }
  }
  .body {
    width: 100%;
    height: calc(100% - 50px);
    .item {
      height: calc(100% / 3);
      @extend .number;
      font-size: 50px;
    }
  }
}
</style>
